package yzy.ecps.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import yzy.ecps.dao.FeatureDao;
import yzy.ecps.model.BtcFeature;
import yzy.ecps.service.FeatureService;

@Service
public class FeatureServiceImpl implements FeatureService{
	
	@Autowired
	private FeatureDao featureDao;
	
	public List<BtcFeature> findCommonByCatgoryId(Long catgoryId) {
		return featureDao.findCommonByCatgoryId(catgoryId);
	}

	public List<BtcFeature> findSpecByCatgoryId(Long catgoryId) {
		return featureDao.findSpecByCatgoryId(catgoryId);
	}

	public List<BtcFeature> findSelectByCatgoryId(Long catgoryId) {
		return featureDao.findSelectByCatgoryId(catgoryId);
	}

}
